package com.juc.forkJoin.forkJoin1;

import java.util.concurrent.ForkJoinPool;

public class Test {

	/**
	 * RecursiveAction 执行的任务是没有返回值的，仅执行一次任务
	 * @param args
	 * @throws InterruptedException
	 */
	public static void main(String[] args) throws InterruptedException {
		ForkJoinPool pool = new ForkJoinPool();
		pool.submit(new MyRecursiveAction());
		Thread.sleep(5000);
	}
}
